.class public Lcom/waiqin365/lightapp/view/CalendarView;
.super Landroid/widget/LinearLayout;

# interfaces
.implements Lcom/waiqin365/base/calendar/views/d;
.implements Lcom/waiqin365/base/calendar/views/e;


# instance fields
.field private a:Lcom/waiqin365/base/calendar/views/MonthView;

.field private b:Lcom/waiqin365/base/calendar/views/WeekView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/LinearLayout;

.field private e:Ljava/util/Calendar;

.field private f:Lcom/waiqin365/base/calendar/ScrollLayout;

.field private g:Lcom/waiqin365/lightapp/view/cr;

.field private h:Lcom/waiqin365/lightapp/view/cq;

.field private i:I

.field private j:I

.field private k:I


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 0

    invoke-direct {p0, p1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/CalendarView;->e()V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 0

    invoke-direct {p0, p1, p2}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/CalendarView;->e()V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 0

    invoke-direct {p0, p1, p2, p3}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/CalendarView;->e()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/view/CalendarView;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->i:I

    return v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/view/CalendarView;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/view/CalendarView;->i:I

    return p1
.end method

.method private e()V
    .locals 7

    const/4 v6, 0x2

    const/4 v5, 0x1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CalendarView;->getContext()Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f030002

    invoke-static {v0, v1, p0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    const v0, 0x7f0c0016

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->c:Landroid/widget/TextView;

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->e:Ljava/util/Calendar;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->c:Landroid/widget/TextView;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Lcom/waiqin365/lightapp/view/CalendarView;->e:Ljava/util/Calendar;

    invoke-virtual {v3, v5}, Ljava/util/Calendar;->get(I)I

    move-result v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CalendarView;->getContext()Landroid/content/Context;

    move-result-object v3

    const v4, 0x7f080895

    invoke-virtual {v3, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/view/CalendarView;->e:Ljava/util/Calendar;

    invoke-virtual {v3, v6}, Ljava/util/Calendar;->get(I)I

    move-result v3

    add-int/lit8 v3, v3, 0x1

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CalendarView;->getContext()Landroid/content/Context;

    move-result-object v3

    const v4, 0x7f080557

    invoke-virtual {v3, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0017

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/calendar/ScrollLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->f:Lcom/waiqin365/base/calendar/ScrollLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->f:Lcom/waiqin365/base/calendar/ScrollLayout;

    new-instance v2, Lcom/waiqin365/lightapp/view/cp;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/view/cp;-><init>(Lcom/waiqin365/lightapp/view/CalendarView;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/calendar/ScrollLayout;->setOnViewHeightChange(Lcom/waiqin365/base/calendar/b;)V

    const v0, 0x7f0c0019

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/calendar/views/MonthView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    const v0, 0x7f0c001c

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/calendar/views/WeekView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->b:Lcom/waiqin365/base/calendar/views/WeekView;

    const v0, 0x7f0c001a

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->d:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    sget-object v1, Lcom/waiqin365/base/calendar/b/a;->a:Lcom/waiqin365/base/calendar/b/a;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/calendar/views/MonthView;->setDPMode(Lcom/waiqin365/base/calendar/b/a;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CalendarView;->e:Ljava/util/Calendar;

    invoke-virtual {v1, v5}, Ljava/util/Calendar;->get(I)I

    move-result v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/CalendarView;->e:Ljava/util/Calendar;

    invoke-virtual {v2, v6}, Ljava/util/Calendar;->get(I)I

    move-result v2

    add-int/lit8 v2, v2, 0x1

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/calendar/views/MonthView;->setDate(II)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v0, v5}, Lcom/waiqin365/base/calendar/views/MonthView;->setTodayDisplay(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/calendar/views/MonthView;->setOnDateChangeListener(Lcom/waiqin365/base/calendar/views/d;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/calendar/views/MonthView;->setOnDatePickedListener(Lcom/waiqin365/base/calendar/views/e;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->b:Lcom/waiqin365/base/calendar/views/WeekView;

    sget-object v1, Lcom/waiqin365/base/calendar/b/a;->a:Lcom/waiqin365/base/calendar/b/a;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/calendar/views/WeekView;->setDPMode(Lcom/waiqin365/base/calendar/b/a;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->b:Lcom/waiqin365/base/calendar/views/WeekView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CalendarView;->e:Ljava/util/Calendar;

    invoke-virtual {v1, v5}, Ljava/util/Calendar;->get(I)I

    move-result v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/CalendarView;->e:Ljava/util/Calendar;

    invoke-virtual {v2, v6}, Ljava/util/Calendar;->get(I)I

    move-result v2

    add-int/lit8 v2, v2, 0x1

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/calendar/views/WeekView;->setDate(II)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->b:Lcom/waiqin365/base/calendar/views/WeekView;

    invoke-virtual {v0, v5}, Lcom/waiqin365/base/calendar/views/WeekView;->setTodayDisplay(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->b:Lcom/waiqin365/base/calendar/views/WeekView;

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/calendar/views/WeekView;->setOnDatePickedListener(Lcom/waiqin365/base/calendar/views/e;)V

    const-string/jumbo v0, "#fafafa"

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/CalendarView;->setBackgroundColor(I)V

    new-instance v0, Ljava/util/Date;

    invoke-direct {v0}, Ljava/util/Date;-><init>()V

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/CalendarView;->setSelectedDate(Ljava/util/Date;)V

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;)Ljava/lang/String;
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v0}, Lcom/waiqin365/base/calendar/views/MonthView;->c()Lcom/waiqin365/base/calendar/c/a;

    move-result-object v0

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return-object v0

    :cond_0
    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v1

    iget v2, v0, Lcom/waiqin365/base/calendar/c/a;->c:I

    iget v3, v0, Lcom/waiqin365/base/calendar/c/a;->d:I

    add-int/lit8 v3, v3, -0x1

    iget-object v0, v0, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {v1, v2, v3, v0}, Ljava/util/Calendar;->set(III)V

    new-instance v0, Ljava/text/SimpleDateFormat;

    invoke-direct {v0, p1}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method public a()Ljava/util/Date;
    .locals 5

    const/4 v4, 0x0

    invoke-static {}, Lcom/waiqin365/base/calendar/a/a/a;->a()Lcom/waiqin365/base/calendar/a/a/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v1}, Lcom/waiqin365/base/calendar/views/MonthView;->d()I

    move-result v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v2}, Lcom/waiqin365/base/calendar/views/MonthView;->e()I

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/calendar/a/a/a;->a(II)[[Lcom/waiqin365/base/calendar/c/a;

    move-result-object v0

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v1

    aget-object v2, v0, v4

    aget-object v2, v2, v4

    iget v2, v2, Lcom/waiqin365/base/calendar/c/a;->c:I

    aget-object v3, v0, v4

    aget-object v3, v3, v4

    iget v3, v3, Lcom/waiqin365/base/calendar/c/a;->d:I

    add-int/lit8 v3, v3, -0x1

    aget-object v0, v0, v4

    aget-object v0, v0, v4

    iget-object v0, v0, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {v1, v2, v3, v0}, Ljava/util/Calendar;->set(III)V

    invoke-virtual {v1}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v0

    return-object v0
.end method

.method public a(II)V
    .locals 4

    iget v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->j:I

    if-eqz v0, :cond_3

    iget v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->k:I

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v0}, Lcom/waiqin365/base/calendar/views/MonthView;->e()I

    move-result v0

    if-gt p2, v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v0}, Lcom/waiqin365/base/calendar/views/MonthView;->d()I

    move-result v0

    if-le p1, v0, :cond_1

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v0}, Lcom/waiqin365/base/calendar/views/MonthView;->a()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->b:Lcom/waiqin365/base/calendar/views/WeekView;

    invoke-virtual {v0}, Lcom/waiqin365/base/calendar/views/WeekView;->a()V

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v0}, Lcom/waiqin365/base/calendar/views/MonthView;->e()I

    move-result v0

    if-lt p2, v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v0}, Lcom/waiqin365/base/calendar/views/MonthView;->d()I

    move-result v0

    if-ge p1, v0, :cond_3

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v0}, Lcom/waiqin365/base/calendar/views/MonthView;->b()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->b:Lcom/waiqin365/base/calendar/views/WeekView;

    invoke-virtual {v0}, Lcom/waiqin365/base/calendar/views/WeekView;->b()V

    :cond_3
    iput p1, p0, Lcom/waiqin365/lightapp/view/CalendarView;->j:I

    iput p2, p0, Lcom/waiqin365/lightapp/view/CalendarView;->k:I

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->c:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CalendarView;->getContext()Landroid/content/Context;

    move-result-object v2

    const v3, 0x7f080895

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CalendarView;->getContext()Landroid/content/Context;

    move-result-object v2

    const v3, 0x7f080557

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->h:Lcom/waiqin365/lightapp/view/cq;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->h:Lcom/waiqin365/lightapp/view/cq;

    invoke-interface {v0, p1, p2}, Lcom/waiqin365/lightapp/view/cq;->a(II)V

    :cond_4
    return-void
.end method

.method public a(Lcom/waiqin365/base/calendar/c/a;)V
    .locals 4

    if-nez p1, :cond_0

    :goto_0
    return-void

    :cond_0
    :try_start_0
    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v0

    iget v1, p1, Lcom/waiqin365/base/calendar/c/a;->c:I

    iget v2, p1, Lcom/waiqin365/base/calendar/c/a;->d:I

    add-int/lit8 v2, v2, -0x1

    iget-object v3, p1, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-static {v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v3

    invoke-virtual {v0, v1, v2, v3}, Ljava/util/Calendar;->set(III)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CalendarView;->g:Lcom/waiqin365/lightapp/view/cr;

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CalendarView;->g:Lcom/waiqin365/lightapp/view/cr;

    invoke-virtual {v0}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v0

    invoke-interface {v1, v0}, Lcom/waiqin365/lightapp/view/cr;->a(Ljava/util/Date;)V

    :cond_1
    iget v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->j:I

    if-eqz v0, :cond_6

    iget v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->k:I

    if-eqz v0, :cond_6

    iget v0, p1, Lcom/waiqin365/base/calendar/c/a;->d:I

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v1}, Lcom/waiqin365/base/calendar/views/MonthView;->e()I

    move-result v1

    if-gt v0, v1, :cond_2

    iget v0, p1, Lcom/waiqin365/base/calendar/c/a;->c:I

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v1}, Lcom/waiqin365/base/calendar/views/MonthView;->d()I

    move-result v1

    if-le v0, v1, :cond_3

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v0}, Lcom/waiqin365/base/calendar/views/MonthView;->a()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->b:Lcom/waiqin365/base/calendar/views/WeekView;

    invoke-virtual {v0}, Lcom/waiqin365/base/calendar/views/WeekView;->a()V

    iget v1, p1, Lcom/waiqin365/base/calendar/c/a;->c:I

    iget v0, p1, Lcom/waiqin365/base/calendar/c/a;->d:I

    const/4 v2, 0x1

    if-ne v0, v2, :cond_7

    add-int/lit8 v1, v1, -0x1

    const/16 v0, 0xc

    :goto_1
    invoke-static {}, Lcom/waiqin365/base/calendar/a/a/a;->a()Lcom/waiqin365/base/calendar/a/a/a;

    move-result-object v2

    invoke-virtual {v2, v1, v0}, Lcom/waiqin365/base/calendar/a/a/a;->a(II)[[Lcom/waiqin365/base/calendar/c/a;

    move-result-object v0

    if-eqz v0, :cond_d

    iget v1, p1, Lcom/waiqin365/base/calendar/c/a;->c:I

    const/4 v2, 0x3

    aget-object v2, v0, v2

    const/4 v3, 0x6

    aget-object v2, v2, v3

    iget v2, v2, Lcom/waiqin365/base/calendar/c/a;->c:I

    if-ne v1, v2, :cond_a

    iget v1, p1, Lcom/waiqin365/base/calendar/c/a;->d:I

    const/4 v2, 0x3

    aget-object v2, v0, v2

    const/4 v3, 0x6

    aget-object v2, v2, v3

    iget v2, v2, Lcom/waiqin365/base/calendar/c/a;->d:I

    if-ne v1, v2, :cond_a

    iget-object v1, p1, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    const/4 v2, 0x0

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v1

    const/4 v2, 0x3

    aget-object v2, v0, v2

    const/4 v3, 0x6

    aget-object v2, v2, v3

    iget-object v2, v2, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    const/4 v3, 0x0

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v2

    if-gt v1, v2, :cond_8

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/calendar/views/MonthView;->setNum(I)V

    :cond_3
    :goto_2
    iget v0, p1, Lcom/waiqin365/base/calendar/c/a;->d:I

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v1}, Lcom/waiqin365/base/calendar/views/MonthView;->e()I

    move-result v1

    if-lt v0, v1, :cond_4

    iget v0, p1, Lcom/waiqin365/base/calendar/c/a;->c:I

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v1}, Lcom/waiqin365/base/calendar/views/MonthView;->d()I

    move-result v1

    if-ge v0, v1, :cond_6

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v0}, Lcom/waiqin365/base/calendar/views/MonthView;->b()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->b:Lcom/waiqin365/base/calendar/views/WeekView;

    invoke-virtual {v0}, Lcom/waiqin365/base/calendar/views/WeekView;->b()V

    iget v0, p1, Lcom/waiqin365/base/calendar/c/a;->c:I

    iget v1, p1, Lcom/waiqin365/base/calendar/c/a;->d:I

    invoke-static {}, Lcom/waiqin365/base/calendar/a/a/a;->a()Lcom/waiqin365/base/calendar/a/a/a;

    move-result-object v2

    invoke-virtual {v2, v0, v1}, Lcom/waiqin365/base/calendar/a/a/a;->a(II)[[Lcom/waiqin365/base/calendar/c/a;

    move-result-object v0

    if-eqz v0, :cond_11

    iget v1, p1, Lcom/waiqin365/base/calendar/c/a;->c:I

    const/4 v2, 0x3

    aget-object v2, v0, v2

    const/4 v3, 0x6

    aget-object v2, v2, v3

    iget v2, v2, Lcom/waiqin365/base/calendar/c/a;->c:I

    if-ne v1, v2, :cond_5

    iget v1, p1, Lcom/waiqin365/base/calendar/c/a;->d:I

    const/4 v2, 0x3

    aget-object v2, v0, v2

    const/4 v3, 0x6

    aget-object v2, v2, v3

    iget v2, v2, Lcom/waiqin365/base/calendar/c/a;->d:I

    if-eq v1, v2, :cond_e

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    const/4 v1, 0x3

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/calendar/views/MonthView;->setNum(I)V

    :cond_6
    :goto_3
    iget v0, p1, Lcom/waiqin365/base/calendar/c/a;->c:I

    iput v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->j:I

    iget v0, p1, Lcom/waiqin365/base/calendar/c/a;->d:I

    iput v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->k:I

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->c:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget v2, p1, Lcom/waiqin365/base/calendar/c/a;->c:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CalendarView;->getContext()Landroid/content/Context;

    move-result-object v2

    const v3, 0x7f080895

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget v2, p1, Lcom/waiqin365/base/calendar/c/a;->d:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CalendarView;->getContext()Landroid/content/Context;

    move-result-object v2

    const v3, 0x7f080557

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto/16 :goto_0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto/16 :goto_0

    :cond_7
    add-int/lit8 v0, v0, -0x1

    goto/16 :goto_1

    :cond_8
    :try_start_1
    iget-object v1, p1, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    const/4 v2, 0x0

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v1

    const/4 v2, 0x4

    aget-object v2, v0, v2

    const/4 v3, 0x6

    aget-object v2, v2, v3

    iget-object v2, v2, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    const/4 v3, 0x0

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v2

    if-gt v1, v2, :cond_9

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/calendar/views/MonthView;->setNum(I)V

    goto/16 :goto_2

    :cond_9
    iget-object v1, p1, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    const/4 v2, 0x0

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v1

    const/4 v2, 0x5

    aget-object v0, v0, v2

    const/4 v2, 0x6

    aget-object v0, v0, v2

    iget-object v0, v0, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    const/4 v2, 0x0

    invoke-static {v0, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v0

    if-gt v1, v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/calendar/views/MonthView;->setNum(I)V

    goto/16 :goto_2

    :cond_a
    iget v1, p1, Lcom/waiqin365/base/calendar/c/a;->c:I

    const/4 v2, 0x4

    aget-object v2, v0, v2

    const/4 v3, 0x6

    aget-object v2, v2, v3

    iget v2, v2, Lcom/waiqin365/base/calendar/c/a;->c:I

    if-ne v1, v2, :cond_c

    iget v1, p1, Lcom/waiqin365/base/calendar/c/a;->d:I

    const/4 v2, 0x4

    aget-object v2, v0, v2

    const/4 v3, 0x6

    aget-object v2, v2, v3

    iget v2, v2, Lcom/waiqin365/base/calendar/c/a;->d:I

    if-ne v1, v2, :cond_c

    iget-object v1, p1, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    const/4 v2, 0x0

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v1

    const/4 v2, 0x4

    aget-object v2, v0, v2

    const/4 v3, 0x6

    aget-object v2, v2, v3

    iget-object v2, v2, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    const/4 v3, 0x0

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v2

    if-gt v1, v2, :cond_b

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/calendar/views/MonthView;->setNum(I)V

    goto/16 :goto_2

    :cond_b
    iget-object v1, p1, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    const/4 v2, 0x0

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v1

    const/4 v2, 0x5

    aget-object v0, v0, v2

    const/4 v2, 0x6

    aget-object v0, v0, v2

    iget-object v0, v0, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    const/4 v2, 0x0

    invoke-static {v0, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v0

    if-gt v1, v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/calendar/views/MonthView;->setNum(I)V

    goto/16 :goto_2

    :cond_c
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/calendar/views/MonthView;->setNum(I)V

    goto/16 :goto_2

    :cond_d
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/calendar/views/MonthView;->setNum(I)V

    goto/16 :goto_2

    :cond_e
    iget v1, p1, Lcom/waiqin365/base/calendar/c/a;->c:I

    const/4 v2, 0x4

    aget-object v2, v0, v2

    const/4 v3, 0x6

    aget-object v2, v2, v3

    iget v2, v2, Lcom/waiqin365/base/calendar/c/a;->c:I

    if-ne v1, v2, :cond_f

    iget v1, p1, Lcom/waiqin365/base/calendar/c/a;->d:I

    const/4 v2, 0x4

    aget-object v0, v0, v2

    const/4 v2, 0x6

    aget-object v0, v0, v2

    iget v0, v0, Lcom/waiqin365/base/calendar/c/a;->d:I

    if-eq v1, v0, :cond_10

    :cond_f
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/calendar/views/MonthView;->setNum(I)V

    goto/16 :goto_3

    :cond_10
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    const/4 v1, 0x5

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/calendar/views/MonthView;->setNum(I)V

    goto/16 :goto_3

    :cond_11
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    const/4 v1, 0x5

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/calendar/views/MonthView;->setNum(I)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto/16 :goto_3
.end method

.method public addView(Landroid/view/View;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    return-void
.end method

.method public b()Ljava/util/Date;
    .locals 6

    const/4 v5, 0x6

    const/4 v4, 0x5

    invoke-static {}, Lcom/waiqin365/base/calendar/a/a/a;->a()Lcom/waiqin365/base/calendar/a/a/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v1}, Lcom/waiqin365/base/calendar/views/MonthView;->d()I

    move-result v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v2}, Lcom/waiqin365/base/calendar/views/MonthView;->e()I

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/calendar/a/a/a;->a(II)[[Lcom/waiqin365/base/calendar/c/a;

    move-result-object v0

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v1

    aget-object v2, v0, v4

    aget-object v2, v2, v5

    iget v2, v2, Lcom/waiqin365/base/calendar/c/a;->c:I

    aget-object v3, v0, v4

    aget-object v3, v3, v5

    iget v3, v3, Lcom/waiqin365/base/calendar/c/a;->d:I

    add-int/lit8 v3, v3, -0x1

    aget-object v0, v0, v4

    aget-object v0, v0, v5

    iget-object v0, v0, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {v1, v2, v3, v0}, Ljava/util/Calendar;->set(III)V

    invoke-virtual {v1}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v0

    return-object v0
.end method

.method public c()Lcom/waiqin365/base/calendar/c/a;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v0}, Lcom/waiqin365/base/calendar/views/MonthView;->c()Lcom/waiqin365/base/calendar/c/a;

    move-result-object v0

    return-object v0
.end method

.method public d()Z
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->f:Lcom/waiqin365/base/calendar/ScrollLayout;

    invoke-virtual {v0}, Lcom/waiqin365/base/calendar/ScrollLayout;->a()Z

    move-result v0

    return v0
.end method

.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->b:Lcom/waiqin365/base/calendar/views/WeekView;

    invoke-virtual {v0}, Lcom/waiqin365/base/calendar/views/WeekView;->getAlpha()F

    move-result v0

    const/4 v1, 0x0

    cmpl-float v0, v0, v1

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->b:Lcom/waiqin365/base/calendar/views/WeekView;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/calendar/views/WeekView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->b:Lcom/waiqin365/base/calendar/views/WeekView;

    const/high16 v1, 0x3f800000    # 1.0f

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/calendar/views/WeekView;->setAlpha(F)V

    :cond_0
    invoke-super {p0, p1}, Landroid/widget/LinearLayout;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0
.end method

.method protected onSizeChanged(IIII)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->b:Lcom/waiqin365/base/calendar/views/WeekView;

    invoke-virtual {v0}, Lcom/waiqin365/base/calendar/views/WeekView;->c()I

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->b:Lcom/waiqin365/base/calendar/views/WeekView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/calendar/views/WeekView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->b:Lcom/waiqin365/base/calendar/views/WeekView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/calendar/views/WeekView;->setAlpha(F)V

    :cond_0
    invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/LinearLayout;->onSizeChanged(IIII)V

    return-void
.end method

.method public setBackgroundColor(I)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v0, p1}, Lcom/waiqin365/base/calendar/views/MonthView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->b:Lcom/waiqin365/base/calendar/views/WeekView;

    invoke-virtual {v0, p1}, Lcom/waiqin365/base/calendar/views/WeekView;->setBackgroundColor(I)V

    return-void
.end method

.method public setDate(Ljava/util/Date;)V
    .locals 6

    const/4 v5, 0x2

    const/4 v4, 0x1

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v0

    invoke-virtual {v0, p1}, Ljava/util/Calendar;->setTime(Ljava/util/Date;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v0, v4}, Ljava/util/Calendar;->get(I)I

    move-result v2

    invoke-virtual {v0, v5}, Ljava/util/Calendar;->get(I)I

    move-result v3

    add-int/lit8 v3, v3, 0x1

    invoke-virtual {v1, v2, v3}, Lcom/waiqin365/base/calendar/views/MonthView;->setDate(II)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CalendarView;->b:Lcom/waiqin365/base/calendar/views/WeekView;

    invoke-virtual {v0, v4}, Ljava/util/Calendar;->get(I)I

    move-result v2

    invoke-virtual {v0, v5}, Ljava/util/Calendar;->get(I)I

    move-result v0

    add-int/lit8 v0, v0, 0x1

    invoke-virtual {v1, v2, v0}, Lcom/waiqin365/base/calendar/views/WeekView;->setDate(II)V

    return-void
.end method

.method public setMarkList(Ljava/util/HashMap;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->b:Lcom/waiqin365/base/calendar/views/WeekView;

    invoke-virtual {v0, p1}, Lcom/waiqin365/base/calendar/views/WeekView;->setMarkList(Ljava/util/HashMap;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v0, p1}, Lcom/waiqin365/base/calendar/views/MonthView;->setMarkList(Ljava/util/HashMap;)V

    return-void
.end method

.method public setOnDateChangeListener(Lcom/waiqin365/lightapp/view/cq;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/CalendarView;->h:Lcom/waiqin365/lightapp/view/cq;

    return-void
.end method

.method public setOnDateSelectedListener(Lcom/waiqin365/lightapp/view/cr;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/CalendarView;->g:Lcom/waiqin365/lightapp/view/cr;

    return-void
.end method

.method public setSelectedDate(Ljava/util/Date;)V
    .locals 4

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v0

    invoke-virtual {v0, p1}, Ljava/util/Calendar;->setTime(Ljava/util/Date;)V

    new-instance v1, Lcom/waiqin365/base/calendar/c/a;

    invoke-direct {v1}, Lcom/waiqin365/base/calendar/c/a;-><init>()V

    const/4 v2, 0x1

    invoke-virtual {v0, v2}, Ljava/util/Calendar;->get(I)I

    move-result v2

    iput v2, v1, Lcom/waiqin365/base/calendar/c/a;->c:I

    const/4 v2, 0x2

    invoke-virtual {v0, v2}, Ljava/util/Calendar;->get(I)I

    move-result v2

    add-int/lit8 v2, v2, 0x1

    iput v2, v1, Lcom/waiqin365/base/calendar/c/a;->d:I

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const/4 v3, 0x5

    invoke-virtual {v0, v3}, Ljava/util/Calendar;->get(I)I

    move-result v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, ""

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->a:Lcom/waiqin365/base/calendar/views/MonthView;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/calendar/views/MonthView;->setSelectedDate(Lcom/waiqin365/base/calendar/c/a;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->b:Lcom/waiqin365/base/calendar/views/WeekView;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/calendar/views/WeekView;->setSelectedDate(Lcom/waiqin365/base/calendar/c/a;)V

    iget v0, v1, Lcom/waiqin365/base/calendar/c/a;->c:I

    iput v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->j:I

    iget v0, v1, Lcom/waiqin365/base/calendar/c/a;->d:I

    iput v0, p0, Lcom/waiqin365/lightapp/view/CalendarView;->k:I

    return-void
.end method
